﻿using Musi.Core.CSV;

namespace Musi
{
    [System.Serializable]
    public struct ChartSong: ICSVParseList<ChartSong>
    {
        public string name;
        public string path;

        public ChartSong CSVParseList(string[] sources)
        {
            if(sources.Length == 2)
                name = sources[1];

            if (sources.Length == 3)
                path = sources[2];

            return this;
        }
    }
}
